package com.jingdianjichi.subject.application.handler.subject;//package com.jingdianjichi.subject.application.handler.subject;

import com.jingdianjichi.subject.domain.entity.SubjectInfoBO;
import com.jingdinajichi.subject.common.enmus.SubjectInfoTypeEnum;

/**
 * @author zwy
 * @version 1.0
 * @description: SubjectTypeHandle
 * @date 2025/7/13 17:42
 */

public interface SubjectTypeHandler {
    /**
     * 枚举题目类型的识别
     * @return
     */
    SubjectInfoTypeEnum getHandlerType();
    /**
     * 实际的题目的插入
     */
    void add(SubjectInfoBO subjectInfoBO);

    SubjectInfoBO query(SubjectInfoBO subjectInfoBO);
}
